package com.adcc.ags.gms.core.util;

import com.adcc.ags.gms.gw.vo.UserMonitorVO;

import java.util.List;
import java.util.Map;
import java.util.Stack;

/**
 * 缓存堆栈
 */
public final class CacheStack {

    // 用户监控堆栈
    private static Stack<List<UserMonitorVO>> userMonitorStack = new Stack<List<UserMonitorVO>>();

    public synchronized static Stack<List<UserMonitorVO>> getUserMonitorStack() {
        return userMonitorStack;
    }

    //系统监控堆栈
    private static Stack<Map<String, Object>> sysMonitorStack = new Stack<>();

    public synchronized static Stack<Map<String, Object>> getSysMonitorStack() {
        return sysMonitorStack;
    }
}
